package com.law.lawcaculator.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 触发问题与选项规则关系表
 * @TableName question_option_rules
 */
@TableName(value ="question_option_rules")
@Data
public class QuestionOptionRules {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 触发源选项ID
     */
    private Long optionId;

    /**
     * appId
     */
    private Long appId;

    /**
     * 目标问题ID
     */
    private Long qId;

    /**
     * 动作(如show hidden 显示/隐藏等)
     */
    private String action;

    /**
     * 规则配置 如{{"required": true}}
     */
    private Object config;
}